package com.csaba.connector.fhb.model;

import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.InputStreamReader;

import net.htmlparser.jericho.Source;
import net.htmlparser.jericho.TextExtractor;

public class Test
{
	public static void main( final String[] args ) throws Exception
	{
		final BufferedReader br = new BufferedReader(new InputStreamReader(new FileInputStream(
				"../fhb.source/welcresult.txt")));
		final StringBuffer buff = new StringBuffer();
		String line = br.readLine();
		while ( line != null )
		{
			buff.append(line).append(" ");
			line = br.readLine();
		}
		br.close();

		final String content = new TextExtractor(new Source(buff)).toString();
		System.out.println(content);
	}
}
